DALI
api.daliTransaction(comm, addr, isdir)
- Overview
- Arguments
- Return
- Example
Transmits Dali command to specified address.
- comm (integer) - Dali command
- addr (integer) - Address (OPTIONAL)
- isdir (integer) - 1 if message is direct, 0 if not (OPTIONAL)
- answer (integer) - Nil or non-zero if an answer has been received from Dali device (when non direct transmission is used)
-- initialize Dali device
ans = api.daliTransaction(0xA500)